"""
Video stream.
"""
{% import "_components.jinja" as _components %}

from __future__ import annotations

import re
from typing import TYPE_CHECKING, Any, Literal

{{ _components.import_all(template_path, import_audio=False) }}

if TYPE_CHECKING:
    from .audio import AudioStream


class VideoStream(FilterableStream):
    """
    Video stream.
    """

    {% for f in filters %}
        {% if f.filter_type.value in ["vf", "vaf"] and not f.is_dynamic_input %}
    {{ _components.filter_method(f) }}
        {% endif %}
    {% endfor %}
